﻿using System;
using System.Collections.Generic;
using System.Text;
using BusinessLogic;

namespace ChatService
{
    public class ChatEventArgs : EventArgs
    {
        public MessageType msgType { get; set; }
        public User user { get; set; }
        public string message { get; set; }

        public ChatEventArgs(User user, string msg, MessageType type)
        {
            this.user = user;
            this.message = msg;
            this.msgType = type;
        }

        public ChatEventArgs(User user, MessageType type)
        {
            this.user = user;
            this.msgType = type;
        }
    }
}
